package com.waters.base.dao;

import com.waters.base.pojo.BaseP;
import com.waters.base.pojo.BasePExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasePMapper {
    int countByExample(BasePExample example);

    int deleteByExample(BasePExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BaseP record);

    int insertSelective(BaseP record);

    List<BaseP> selectByExample(BasePExample example);

    BaseP selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BaseP record, @Param("example") BasePExample example);

    int updateByExample(@Param("record") BaseP record, @Param("example") BasePExample example);

    int updateByPrimaryKeySelective(BaseP record);

    int updateByPrimaryKey(BaseP record);
}